package com.zoweunion.mechanic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zoweunion.mechanic.entity.PromotionCouponEntity;

import java.util.List;
import java.util.Map;

/**
 * 优惠券表
 *
 * @author xp
 * @email 17688825585@163.com
 * @date 2020-08-11 13:32:35
 */
public interface PromotionCouponService extends IService<PromotionCouponEntity>{

    PageInfo<PromotionCouponEntity> queryPage(Map<String, Object> map);

    void promotionCouponInsertUpdate(PromotionCouponEntity params);

    List<PromotionCouponEntity> couponList(Map<String, Object> params);

    List<PromotionCouponEntity> couponListByDate(Map<String, Object> params);

    PromotionCouponEntity couponRecommend(Map<String, Object> params);

    List<PromotionCouponEntity> couponListNotLogin(Map<String, Object> params);
}

